//
//  Card.h
//  
//
//  Created by barak on 10/27/12.
//  Copyright (c) 2012 yaniv. All rights reserved.
//

#import <Foundation/Foundation.h>

@class CardCreditOptions;

@interface Card : NSObject {
    CardCreditOptions *creditOptions;
    NSNumber *deprecateData;
    NSString *holder;
    NSString *cardId;
    NSString *issuer;
    NSString *linkAccount;
    NSString *mode;
    NSString *number;
    id securityCode;
}

@property (nonatomic, strong) CardCreditOptions *creditOptions;
@property (nonatomic, copy) NSNumber *deprecateData;
@property (nonatomic, copy) NSString *holder;
@property (nonatomic, copy) NSString *cardId;
@property (nonatomic, copy) NSString *issuer;
@property (nonatomic, copy) NSString *linkAccount;
@property (nonatomic, copy) NSString *mode;
@property (nonatomic, copy) NSString *number;
@property (nonatomic, strong) id securityCode;
@property (nonatomic, strong) NSString* ownerName;
@property (nonatomic, strong) UIColor* backgroundColor;
+ (Card *)instanceFromDictionary:(NSDictionary *)aDictionary;
- (void)setAttributesFromDictionary:(NSDictionary *)aDictionary;

- (NSDictionary *)dictionaryRepresentation;

@end
